﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HJT212_Protocol_DAL.Model
{
    public class HostClientModel
    {

        private int _onLineState = 0;
        /// <summary>
        /// MN号
        /// </summary>
        public string MN { get; set; }
        /// <summary>
        /// 登录的密码
        /// </summary>
        public string PW { get; set; }
        /// <summary>
        /// 对应的中文名字
        /// </summary>
        public string MCNName { get; set; }
        /// <summary>
        /// ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public string ParentID { get; set; }

        /// <summary>
        /// IsLeaf 是否叶子节点
        /// </summary>
        public int IsLeaf { get; set; }

        /// <summary>
        /// 树是否展开
        /// </summary>
        public string state { get; set; }

        /// <summary>
        /// 在线状态，“0” 不在线 “2” 在线
        /// 默认值是“0”不在线
        /// </summary>
        public int OnLineState
        {
            get { return _onLineState; }
            set { _onLineState = value; }
        }
    }
}
